package com.example.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * 登陆
 *
 * @author wenfs
 * @date 2020/10/7 20:56
 */
@RestController
public class LoginController {

    @GetMapping("/test/{id}")
    public String test(@PathVariable("id") String id) {
        return "hello " + id + "!";
    }

}
